﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Data.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace verk2013_project_group12.Models
{
    public class GameInstance
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public int ID { get; set; }
        public Game Game { get; set; }
        public int GameID { get; set; }
        public int CurrentPlayers { get; set; }
        public int PlayerCap { get; set; }
        public UserProfile Leader { get; set; }
        public int LeaderUserId { get; set; }
        public bool Draw { get; set; }
        public bool Running { get; set; }
        //public ICollection<GameRegistration> GameRegistrations { get; set; }
        //public ICollection<GameInvite> GameInvites { get; set; }
    }
}